import Layers from "@/lang/layers/index";
import setting from "@/widget/provider/setting";

export default class Logger {


    /**
     * 查询数据列表
     *
     * @param params
     * @returns {Promise<{total: number, code: number, list: *[]} | *>}
     */
    slf4j(params) {
        return Layers.get({
            url: '/sys/log/log4j/list',
            method: 'GET',
            params: params
        }).then(ret => {
            return PageParser(ret);
        })
    }
}
